/*
 * @Author: SakumyZ
 * @Date: 2019-04-28 15:00:29
 * @Description:
 * @Last Modified by: SakumyZ
 * @Last Modified time: 2019-05-01 00:16:57
 */

import React from 'react';

// 导入ant design
import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'

import { Layout, BackTop } from 'antd';
const { Content, Footer } = Layout;

import Navbar from '@/components/Navbar';
import CheatContainer from '@/components/CheatContainer';
import ChartGroup from '@/components/ChartGroup';
import Swifter from '@/components/subComponents/Swifter';

class Home extends React.Component {
  constructor(props) {
    super(props);
  }

  render() {
    return (
      <div>
        <Layout>
          <Navbar>Navbar</Navbar>
          <Layout>
            <Content>
              <Swifter />
              <CheatContainer>
                <ChartGroup />
              </CheatContainer>
              <BackTop title="回到顶部" />
            </Content>
          </Layout>

          <Footer style={{ textAlign: 'center' }}>
            Plateform ©2019 Created by SakumyZ
          </Footer>
        </Layout>
      </div>
    );
  }
}

export default Home;
